package com.lej.core.binding.command

/**
 * A zero-argument action.
 */
interface BindingAction {
    companion object{
        inline operator fun invoke(crossinline call: () -> Unit) = object : BindingAction {
            override fun call() {
                call.invoke()
            }
        }
    }

    fun call()
}